#ifndef ISLAND_H_
#define ISLAND_H_

#include <vector>
#include <utility>

class Bridge;

class Island {
public:
	Island(int maxBridges, std::pair<unsigned int, unsigned int> position);
	void connectBridge(Bridge* bridge);
	int getNumberOfConnectedBridges();
	int getMaxNumberOfBridges();
	int getRemainingNumberOfBridges();
	std::pair<unsigned int, unsigned int> getPosition();


private:
	int maxBridges;
	std::pair<unsigned int, unsigned int> position;
	std::vector<Bridge*> connectedBridges;
};

#endif /* ISLAND_H_ */
